package dao;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * AbstractUser entity provides the base persistence definition of the User
 * entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public abstract class AbstractUser implements java.io.Serializable {

	// Fields

	private Integer userid;
	private String username;
	private String password;
	private String code;
	private String email;
	private Date regdate;
	private Integer ordermax;
	private Integer yunjiamax;
	private Integer shangjimax;
	private Integer tejiamax;
	private Integer advertmax;
	private Integer advertyue;
	private Integer updatemax;
	private Integer updateyue;
	private String userfullname;
	private String qqnumber;
	private String telephone;
	private String officephone;
	private String faxnumber;
	private String admsgstatus;
	private String ordervip;
	private Date ordervipexp;
	private String shippervip;
	private String userinfo;
	private Set shippers = new HashSet(0);
	private Set shipperupdates = new HashSet(0);
	private Set orders = new HashSet(0);
	private Set adminmsgs = new HashSet(0);
	private Set userupdates = new HashSet(0);
	private Set advertises = new HashSet(0);
	private Set yunjias = new HashSet(0);
	private Set advupdates = new HashSet(0);
	private Set shangjis = new HashSet(0);

	// Constructors

	/** default constructor */
	public AbstractUser() {
	}

	/** minimal constructor */
	public AbstractUser(String username, String password, String code,
			String email, Date regdate, Integer ordermax, Integer yunjiamax,
			Integer shangjimax, Integer tejiamax, Integer advertmax,
			Integer advertyue, Integer updatemax, Integer updateyue,
			String admsgstatus) {
		this.username = username;
		this.password = password;
		this.code = code;
		this.email = email;
		this.regdate = regdate;
		this.ordermax = ordermax;
		this.yunjiamax = yunjiamax;
		this.shangjimax = shangjimax;
		this.tejiamax = tejiamax;
		this.advertmax = advertmax;
		this.advertyue = advertyue;
		this.updatemax = updatemax;
		this.updateyue = updateyue;
		this.admsgstatus = admsgstatus;
	}

	/** full constructor */
	public AbstractUser(String username, String password, String code,
			String email, Date regdate, Integer ordermax, Integer yunjiamax,
			Integer shangjimax, Integer tejiamax, Integer advertmax,
			Integer advertyue, Integer updatemax, Integer updateyue,
			String userfullname, String qqnumber, String telephone,
			String officephone, String faxnumber, String admsgstatus,
			String ordervip, Date ordervipexp, String shippervip,
			String userinfo, Set shippers, Set shipperupdates, Set orders,
			Set adminmsgs, Set userupdates, Set advertises, Set yunjias,
			Set advupdates, Set shangjis) {
		this.username = username;
		this.password = password;
		this.code = code;
		this.email = email;
		this.regdate = regdate;
		this.ordermax = ordermax;
		this.yunjiamax = yunjiamax;
		this.shangjimax = shangjimax;
		this.tejiamax = tejiamax;
		this.advertmax = advertmax;
		this.advertyue = advertyue;
		this.updatemax = updatemax;
		this.updateyue = updateyue;
		this.userfullname = userfullname;
		this.qqnumber = qqnumber;
		this.telephone = telephone;
		this.officephone = officephone;
		this.faxnumber = faxnumber;
		this.admsgstatus = admsgstatus;
		this.ordervip = ordervip;
		this.ordervipexp = ordervipexp;
		this.shippervip = shippervip;
		this.userinfo = userinfo;
		this.shippers = shippers;
		this.shipperupdates = shipperupdates;
		this.orders = orders;
		this.adminmsgs = adminmsgs;
		this.userupdates = userupdates;
		this.advertises = advertises;
		this.yunjias = yunjias;
		this.advupdates = advupdates;
		this.shangjis = shangjis;
	}

	// Property accessors

	public Integer getUserid() {
		return this.userid;
	}

	public void setUserid(Integer userid) {
		this.userid = userid;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Date getRegdate() {
		return this.regdate;
	}

	public void setRegdate(Date regdate) {
		this.regdate = regdate;
	}

	public Integer getOrdermax() {
		return this.ordermax;
	}

	public void setOrdermax(Integer ordermax) {
		this.ordermax = ordermax;
	}

	public Integer getYunjiamax() {
		return this.yunjiamax;
	}

	public void setYunjiamax(Integer yunjiamax) {
		this.yunjiamax = yunjiamax;
	}

	public Integer getShangjimax() {
		return this.shangjimax;
	}

	public void setShangjimax(Integer shangjimax) {
		this.shangjimax = shangjimax;
	}

	public Integer getTejiamax() {
		return this.tejiamax;
	}

	public void setTejiamax(Integer tejiamax) {
		this.tejiamax = tejiamax;
	}

	public Integer getAdvertmax() {
		return this.advertmax;
	}

	public void setAdvertmax(Integer advertmax) {
		this.advertmax = advertmax;
	}

	public Integer getAdvertyue() {
		return this.advertyue;
	}

	public void setAdvertyue(Integer advertyue) {
		this.advertyue = advertyue;
	}

	public Integer getUpdatemax() {
		return this.updatemax;
	}

	public void setUpdatemax(Integer updatemax) {
		this.updatemax = updatemax;
	}

	public Integer getUpdateyue() {
		return this.updateyue;
	}

	public void setUpdateyue(Integer updateyue) {
		this.updateyue = updateyue;
	}

	public String getUserfullname() {
		return this.userfullname;
	}

	public void setUserfullname(String userfullname) {
		this.userfullname = userfullname;
	}

	public String getQqnumber() {
		return this.qqnumber;
	}

	public void setQqnumber(String qqnumber) {
		this.qqnumber = qqnumber;
	}

	public String getTelephone() {
		return this.telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getOfficephone() {
		return this.officephone;
	}

	public void setOfficephone(String officephone) {
		this.officephone = officephone;
	}

	public String getFaxnumber() {
		return this.faxnumber;
	}

	public void setFaxnumber(String faxnumber) {
		this.faxnumber = faxnumber;
	}

	public String getAdmsgstatus() {
		return this.admsgstatus;
	}

	public void setAdmsgstatus(String admsgstatus) {
		this.admsgstatus = admsgstatus;
	}

	public String getOrdervip() {
		return this.ordervip;
	}

	public void setOrdervip(String ordervip) {
		this.ordervip = ordervip;
	}

	public Date getOrdervipexp() {
		return this.ordervipexp;
	}

	public void setOrdervipexp(Date ordervipexp) {
		this.ordervipexp = ordervipexp;
	}

	public String getShippervip() {
		return this.shippervip;
	}

	public void setShippervip(String shippervip) {
		this.shippervip = shippervip;
	}

	public String getUserinfo() {
		return this.userinfo;
	}

	public void setUserinfo(String userinfo) {
		this.userinfo = userinfo;
	}

	public Set getShippers() {
		return this.shippers;
	}

	public void setShippers(Set shippers) {
		this.shippers = shippers;
	}

	public Set getShipperupdates() {
		return this.shipperupdates;
	}

	public void setShipperupdates(Set shipperupdates) {
		this.shipperupdates = shipperupdates;
	}

	public Set getOrders() {
		return this.orders;
	}

	public void setOrders(Set orders) {
		this.orders = orders;
	}

	public Set getAdminmsgs() {
		return this.adminmsgs;
	}

	public void setAdminmsgs(Set adminmsgs) {
		this.adminmsgs = adminmsgs;
	}

	public Set getUserupdates() {
		return this.userupdates;
	}

	public void setUserupdates(Set userupdates) {
		this.userupdates = userupdates;
	}

	public Set getAdvertises() {
		return this.advertises;
	}

	public void setAdvertises(Set advertises) {
		this.advertises = advertises;
	}

	public Set getYunjias() {
		return this.yunjias;
	}

	public void setYunjias(Set yunjias) {
		this.yunjias = yunjias;
	}

	public Set getAdvupdates() {
		return this.advupdates;
	}

	public void setAdvupdates(Set advupdates) {
		this.advupdates = advupdates;
	}

	public Set getShangjis() {
		return this.shangjis;
	}

	public void setShangjis(Set shangjis) {
		this.shangjis = shangjis;
	}

}